package com.weizhi.server.mapper;

import com.weizhi.server.entity.Course;

import java.util.List;

public interface CourseMapper {

    void updateTotalTime(Long courseId);

    List<Course> list();

    List<Course> selectSelective(Course course);

    int deleteByPrimaryKey(Long id);

    int insert(Course record);

    int insertSelective(Course record);

    Course selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Course record);

    int updateByPrimaryKey(Course record);
}